/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package isd.facturacion.vista;

import isd.inventario.modelo.*;
import java.io.Serializable;

/**
 *
 * @author ctrosch
 */
//@Embeddable
public class FC_MovimientoPendientePK implements Serializable {
   
    private String modapl;    
    private String codapl;    
    private Integer nroapl;    
    private String circom;

    public String getCircom() {
        return circom;
    }

    public void setCircom(String circom) {
        this.circom = circom;
    }

    public String getCodapl() {
        return codapl;
    }

    public void setCodapl(String codapl) {
        this.codapl = codapl;
    }

    public String getModapl() {
        return modapl;
    }

    public void setModapl(String modapl) {
        this.modapl = modapl;
    }

    public Integer getNroapl() {
        return nroapl;
    }

    public void setNroapl(Integer nroapl) {
        this.nroapl = nroapl;
    }

    @Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final FC_MovimientoPendientePK other = (FC_MovimientoPendientePK) obj;
        if ((this.modapl == null) ? (other.modapl != null) : !this.modapl.equals(other.modapl)) {
            return false;
        }
        if ((this.codapl == null) ? (other.codapl != null) : !this.codapl.equals(other.codapl)) {
            return false;
        }
        if (this.nroapl != other.nroapl && (this.nroapl == null || !this.nroapl.equals(other.nroapl))) {
            return false;
        }
        if ((this.circom == null) ? (other.circom != null) : !this.circom.equals(other.circom)) {
            return false;
        }
        return true;
    }

    @Override
    public int hashCode() {
        int hash = 7;
        hash = 41 * hash + (this.modapl != null ? this.modapl.hashCode() : 0);
        hash = 41 * hash + (this.codapl != null ? this.codapl.hashCode() : 0);
        hash = 41 * hash + (this.nroapl != null ? this.nroapl.hashCode() : 0);
        hash = 41 * hash + (this.circom != null ? this.circom.hashCode() : 0);
        return hash;
    }

    @Override
    public String toString() {
        return "PD_MovimientoPendientePK{" + "modapl=" + modapl + "codapl=" + codapl + "nroapl=" + nroapl + "circom=" + circom + '}';
    }

    
   
}
